package com.bc.bcsellerapihttp.controller;

import com.bc.bcapi.service.T_Mng_email_sysService;
import com.bc.bcapi.service.TestService;
import com.bc.bccore.webconfig.WebConfig;
import com.bc.bcmodel.domain.T_Mng_email_sysModel;
import com.bc.bcmodel.enums.EmailTemplateEnum;
import com.bc.bcmodel.resp.MngSendEmailResp;
import com.bc.commoncore.util.JsonUtil;
import com.bc.commonentity.common.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;
import com.bc.bccore.eos.EosClient;

/**
 * @Name TestController
 * @Description TODO
 * @Author douhaichao
 * @Date 2018/9/11 10:18
 * @Version 1.0
 **/
@Api("测试类")
@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    TestService testService;
    @Autowired
    T_Mng_email_sysService t_mng_email_sysService;

    @ApiOperation("测试方法")
    @RequestMapping(value = "test", method = RequestMethod.GET)
    public JsonResult test(HttpServletRequest request) {
        //EosClient.getInstance().getAccountInfo("bccoretst111");
        EosClient.getInstance().getInfo();
        return null;
    }
}
